package business.report.impl;

import business.report.DrawingSurveyEnterpriseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import report.domain.DrawingSurveyEnterprise;
import report.domain.DrawingSurveyEnterpriseCriteria;
import report.mapper.DrawingSurveyEnterpriseMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/19.
 */
@Service(value = "drawingSurveyEnterpriseService")
public class DrawingSurveyEnterpriseServiceImpl implements DrawingSurveyEnterpriseService{
    @Autowired
    DrawingSurveyEnterpriseMapper drawingSurveyEnterpriseMapper;
    @Override
    public List<DrawingSurveyEnterprise> getDrawingSurveyEnterprise() {
        DrawingSurveyEnterpriseCriteria criteria = new DrawingSurveyEnterpriseCriteria();
        criteria.createCriteria().getAllCriteria();
        return drawingSurveyEnterpriseMapper.selectByExample(criteria);
    }
}
